package com.xmy.cultivate.mapper;

import com.xmy.cultivate.entity.OrderPayAccount;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author min
 * @since 2022-08-12
 */
public interface OrderPayAccountMapper extends BaseMapper<OrderPayAccount> {

    @Select("select * from order_pay_account where order_id = #{orderId}")
    public abstract List<OrderPayAccount> getListForOrderId(@Param("orderId") Long orderId);
}
